package com.bawei.mall.user.service;

import com.bawei.common.core.domain.R;
import com.bawei.mall.user.domain.ConfirmOrder;
import com.bawei.mall.user.domain.CusOrder;
import com.bawei.mall.user.domain.MallOrderList;
import com.bawei.mall.user.domain.MallProductCar;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConfirService {
    R<ConfirmOrder> generateConfirmOrder(List<String> ids);

    R<CusOrder> generateOrder(CusOrder cusOrder);




    void AddMiddleOrder(@Param("orderId") Integer orderId, @Param("mallProductCars") List<MallProductCar> mallProductCars);

    PageInfo<MallOrderList> list(Integer status, Integer pageNum, Integer pageSize);
}
